<template>
	<view class="bg-white" style="height:100vh">
	<view class="formbox">
		<view class="text">账号</view>
		<input placeholder="请输入账号" name="input" v-model="username" placeholder-class="placeholdercenter"></input>
		<view class="text">验证码</view>
		<view class="flex">
		<input placeholder="请输入验证码" name="input" v-model="username" placeholder-class="placeholdercenter" class="flex-twice"></input>
		<button class="cu-btn block bg-blue margin-left-sm">发送验证码</button>
		</view>
		<view class="text">密码</view>
		<input placeholder="请设置密码" name="input" type="password" v-model="password"
			placeholder-class="placeholdercenter"></input>
		<button class="cu-btn block bg-blue margin-top-xl margin-bottom btn-btm"@click="toIndex">确认</button>
		<text class="text-btm" @click="goLogin">去登录</text>
	</view>
	</view>
</template>

<script>
	export default{
		methods:{
			goLogin(){
				uni.navigateTo({
				  url: './login' // 跳转到对应路径的页面
				});
			}
		}
	}
</script>

<style scoped>
	page{
		background:#fff;
	}
</style>